#ifndef PROCESSDELEGATE_H
#define PROCESSDELEGATE_H

#include <QObject>
#include <QWidget>
#include <QMdiArea>


class ProcessDelegate: public QObject
{
public:

    ProcessDelegate();

    ProcessDelegate(QObject* parent = NULL);

    ProcessDelegate(QMdiArea* mdi,QObject* parent = 0);

    ~ProcessDelegate();
    void
    handleTimeout();  //超时处理函数

    virtual void
    timerEvent(
       QTimerEvent *event);

private:

    int m_nTimerID;

    QMdiArea* d_mdi;
};

#endif // PROCESSDELEGATE_H
